package cn.jasonone.jasonfx.entity;

import lombok.Data;

/**
 * 视图模型对象
 * @Author Jason
 * @Date 2020/1/19 0:12
 * @Version 1.0
 */
@Data
public class ModelAndView extends ModelMap {
    /**
     * 视图名称
     */
    private String viewName;
    /**
     * 目标方法名
     */
    private String methodName="show";

    public ModelAndView(String viewName) {
        this.viewName = viewName;
    }

    public ModelAndView() {
    }
}
